<?php

$rootDir = dirname(dirname(dirname(dirname(__FILE__))));


include_once($rootDir.'/kkyoo/common/adodb/adodb.inc.php');
	
$conn = &ADONewConnection('mysqli');

$conn -> Connect("192.168.1.151","wym","wym2007-08-08","kkyoo_music");
//$conn -> Connect("127.0.0.1","root","","kkyoo_dance");

$conn -> debug = false;

/*********************************************************/

define("SMARTY_ROOT",$rootDir."/kkyoo/common/smarty/");

define("TEMPLATES","./templates");

define("TEMPLATES_C","./templates_c");

define("LEFTTAG","<{");
define("RIGHTTAG","}>");

include_once(SMARTY_ROOT."Smarty.class.php");
$objSmarty = new Smarty();
$objSmarty -> template_dir = TEMPLATES;
$objSmarty -> compile_dir  = TEMPLATES_C;
$objSmarty -> left_delimiter = LEFTTAG;
$objSmarty -> right_delimiter = RIGHTTAG;
?>
